<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
 * 登录
 */
class Login extends CI_Controller {

    public function __construct() {
        parent::__construct();
        //判断session是否存在
        if(!empty($_SESSION['user'])){
            redirect(site_url('home'));
        }
    }


}

/* End of file Login.php */
/* Location: ./application/controllers/Login.php */